package com.woniu.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 病例模板目录对象 dms_case_model_catalog
 * 
 * @author ruoyi
 * @date 2024-10-21
 */
public class DmsCaseModelCatalog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 父级ID */
    @Excel(name = "父级ID")
    private Integer parentId;

    /** 层级 */
    @Excel(name = "层级")
    private Integer level;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 模板ID */
    @Excel(name = "模板ID")
    private Integer modelId;

    /** 范围 */
    @Excel(name = "范围")
    private Integer scope;

    /** 拥有者ID */
    @Excel(name = "拥有者ID")
    private Integer ownId;

    /** 目录名称 */
    @Excel(name = "目录名称")
    private String name;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setParentId(Integer parentId) 
    {
        this.parentId = parentId;
    }

    public Integer getParentId() 
    {
        return parentId;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setModelId(Integer modelId) 
    {
        this.modelId = modelId;
    }

    public Integer getModelId() 
    {
        return modelId;
    }
    public void setScope(Integer scope) 
    {
        this.scope = scope;
    }

    public Integer getScope() 
    {
        return scope;
    }
    public void setOwnId(Integer ownId) 
    {
        this.ownId = ownId;
    }

    public Integer getOwnId() 
    {
        return ownId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("level", getLevel())
            .append("type", getType())
            .append("status", getStatus())
            .append("modelId", getModelId())
            .append("scope", getScope())
            .append("ownId", getOwnId())
            .append("createTime", getCreateTime())
            .append("name", getName())
            .toString();
    }
}
